<template>
  <top-nav />
  <div class="main">
    <h1>New UI</h1>
    <h4>一个好用的ui库，一个好用的ui库</h4>
    <p>
      <router-link to="/page">开始</router-link> |
      <router-link to="">Github</router-link>
    </p>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import topNav from "../components/topNav.vue";

export default defineComponent({
  components: { topNav },
  setup() {
    console.log("hi");
  },
});
</script>
<style scoped lang="scss">
.main {
  background-color: wheat;
  text-align: center;
  padding: 20px 0;
}
</style>
